UI Screen

Command Prototype

`UiDetect Scope(id,objUiElement,objRect,iTimeOut,optionArgs)

End UiDetect`

Command Description

Creates an UI Detection scope for a given window or element and performs screen-wide image capture

Parameter Description
Required Parameter
UiDetection.Scope--Name of the called function
id--This value is automatically genereated. Please do not modify
objUiElement--The UI element to search. If a string is passed, it is used as a feature string to search for the specified UIElement to click. If an UiElement is passed, the corresponding UI element is clicked
objRect--The screen area to search. Text recognition will be performed in the specified area. If the area is {"x":0,"y":0,"width":0,"height":0}, then text recognition will be performed on the control element's area
iTimeOut--The amount of time (in milliseconds) to wait for the activity to run before the SelectorNotFoundException throws an error. The default value is 10000 milliseconds (10 seconds)
Optional Parameter
bContinueOnError--Specify whether automation should continue if the activity throws an error. This field only supports Boolean values ​​(True, False). The default is False
iDelayAfter--Added delay (in milliseconds) after executing the activity. Defaults to 300
iDelayBefore--Added delay (in milliseconds) before the acitivity starts. Defaults to 200

results matching ""

    No results matching ""